Goto

Collaborating Authors

 alpha-beta pruning algorithm


Magnos Technologies's answer to What will be some basic level mini artificial Intelligence project? - Quora

#artificialintelligence

Basic version: implement a two-player game letting two different algorithms / sets of parameters play against each other. Basic version: implement an alpha-beta pruning algorithm so that it stops computation and returns the best move found so far, when it runs out of "wallclock" time. Extension 2: propose / code a modification of -- e.g. If the sum of times spent on selecting a move by a given player exceeds this time, that player loses. You can assume, that a player "thinks" only during its move (when you do not want to use multithreading).



Analysis of the alpha-beta pruning algorithm

Classics

Dept. of Computer Science, Carnegie-Mellon University. "Many game-playing programs must search very large game trees. Use of the alpha-beta pruning algorithm instead of the simple minimax search reduces by a large factor the number of bottom positions which must be examined in the search. An analytical expression for the expected number of bottom positions examined in a game tree using alpha-beta pruning is derived, subject to the assumptions that the branching factor N and the depth D of the tree are arbitrary but fixed, and the bottom positions are a random permutation of ND unique values. A simple approximation to the growth rate of the expected number of bottom positions examined is suggested, based on a Monte Carlo simulation for large values of N and D. The behavior of the model is compared with the behavior of the alpha-beta algorithm in a chess playing program and the effects of correlation and non-unique bottom position values in real game trees are examined."